package org.darkforest.common.services;

import org.darkforest.model.Address;
import org.darkforest.model.AddressVo;
import org.darkforest.model.Store;
import org.darkforest.model.StoreWithBLOBs;
import org.darkforest.model.WayBillData;
import org.darkforest.model.Waybill;

import java.util.List;

/**
 * Created by valentina on 15/1/18.
 * 商户基本信息操作
 */
public interface ModuleService {
    public List selectAllBill();

    public List selectAllUnUsedBill();

    public int insertBill(Waybill bill);

    public int updateBill(Waybill waybill);

    public Waybill selectById(int waybillId);

    public int updateUnbind(Waybill record);

    public int delectBill(int id);

    /**
     * 根据添加查询运单模板
     * @param waybill
     * @return
     */
    List<Waybill> findListByCondition(Waybill waybill);

}
